/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package main;

/**
 *
 * @author skipy
 */
public final class InginerRezistenta extends Institutie {

    @Override
    public void tratareCerere(Cerere c) {
       Institutie i = new Primarie();
       if(c.isAvizInginerInstalatii())
       { 
           System.out.println("[Inginer rezistenta]: Aviz favorabil");
       }
       else 
            System.out.println("[Inginer rezistenta]: Aviz nefavorabil");
       this.setUrmatoarea(i);
       this.getUrmatoarea().tratareCerere(c);
    }
    
}
